package com.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.pojo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 消息发送日志
 * </p>
 *
 * @author admin
 * @since 2023-02-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("message_log")
public class MessageLogEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 消息实例Id
     */
    private Long taskId;

    /**
     * 消息类型：0：站内信消息  1：邮件消息  2：短信消息
     */
    private String messageType;

    /**
     * 0.待发送   1.已发送   2.已接收  3.消息异常
     */
    private String meggageStatus;

    /**
     * 发送时间
     */
    private LocalDateTime startDate;
}
